package com.vitabuybuy.tv.ui.home.group.adapter

import androidx.recyclerview.widget.RecyclerView
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ItemBiddingZoneBinding
import com.vitabuybuy.tv.databinding.ItemGroupBuyListBinding
import com.vitabuybuy.tv.databinding.ItemMyNormalGroupBuyBinding
import com.vitabuybuy.tv.dto.GroupBuyListDto
import com.library.common.base.BindRecycAdapter

class GroupBuyListZoneAdapter : BindRecycAdapter<ItemGroupBuyListBinding, GroupBuyListDto>() {
    override fun onBindViewHolder(
        mBinding: ItemGroupBuyListBinding,
        itemData: GroupBuyListDto,
        holder: RecyclerView.ViewHolder,
        position: Int
    ) {
        mBinding.itemData = itemData
    }

    override fun normalViewId(viewType: Int): Int {
        return R.layout.item_group_buy_list
    }
}
